body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}

#app {
  width: 800px;
  height: 600px;
  overflow: auto;
}

.layout {
  display: flex;
  height: 100%;
}

.sidebar {
  width: 120px;
  background-color: #f5f5f5;
  border-right: 1px solid #e8e8e8;
  padding: 10px 0;
  height: 580px; /* 设置固定高度 */
  overflow-y: auto; /* 内容溢出时显示滚动条 */
}

.menu-item {
  padding: 8px 12px;
  cursor: pointer;
  transition: background-color 0.3s;
  font-size: 14px;
}

.menu-item:hover {
  background-color: #e6f7ff;
}

.menu-item.active {
  background-color: #1890ff;
  color: white;
}

.content {
  flex: 1;
  padding: 10px;
}

.form-container {
  max-width: 250px;
  margin: 0 auto;
}

.form-item {
  margin-bottom: 15px;
}

.form-item label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-item input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  font-size: 14px;
}

.form-item input:focus {
  border-color: #40a9ff;
  outline: none;
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.hint-text {
  font-size: 12px;
  color: #888;
  margin-top: 5px;
  line-height: 1.4;
}

.submit-btn {
  width: 100%;
  padding: 10px;
  background-color: #1890ff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background-color: #40a9ff;
}

.submit-btn:active {
  background-color: #096dd9;
}